package test;

public class Course {
    String id;
    String courseName;
    String location;
    String time;
    Teacher teacher;

    public Course(String id,String courseName,String location,String time){
        this.id = id;
        this.courseName =courseName;
        this.location =location;
        this.time = time;
    }

    public void setTeacher(Teacher teacher){
        this.teacher = teacher;
    } 
    public Teacher getTeacher() {
        return teacher;
    }

    public String getId() {
        return id;
    }

    public String getCourseName() {
        return courseName;
    }

    public String getLocation() {
        return location;
    }

    public String getTime() {
        return time;
    }

}
